package com.ruoyi.youtian.service;

import java.util.List;
import com.ruoyi.youtian.domain.TEarlyWarningRecord;
import com.ruoyi.youtian.domain.vo.TEarlyWarningRecordVo;

/**
 * 触发预警记录Service接口
 * 
 * @author ruoyi
 * @date 2022-10-12
 */
public interface ITEarlyWarningRecordService 
{
    /**
     * 查询触发预警记录
     * 
     * @param id 触发预警记录主键
     * @return 触发预警记录
     */
    public TEarlyWarningRecord selectTEarlyWarningRecordById(Long id);

    /**
     * 查询触发预警记录列表
     * 
     * @param tEarlyWarningRecord 触发预警记录
     * @return 触发预警记录集合
     */
    public List<TEarlyWarningRecord> selectTEarlyWarningRecordList(TEarlyWarningRecord tEarlyWarningRecord);

    /**
     * 新增触发预警记录
     * 
     * @param tEarlyWarningRecord 触发预警记录
     * @return 结果
     */
    public int insertTEarlyWarningRecord(TEarlyWarningRecord tEarlyWarningRecord);

    /**
     * 修改触发预警记录
     * 
     * @param tEarlyWarningRecord 触发预警记录
     * @return 结果
     */
    public int updateTEarlyWarningRecord(TEarlyWarningRecord tEarlyWarningRecord);

    /**
     * 批量删除触发预警记录
     * 
     * @param ids 需要删除的触发预警记录主键集合
     * @return 结果
     */
    public int deleteTEarlyWarningRecordByIds(String ids);

    /**
     * 删除触发预警记录信息
     * 
     * @param id 触发预警记录主键
     * @return 结果
     */
    public int deleteTEarlyWarningRecordById(Long id);

    /**
     *  查询预警报警记录
     * @param tEarlyWarningRecordVo
     * @return
     */
    public List<TEarlyWarningRecordVo> selectTEarlyWarningRecordVoList(TEarlyWarningRecordVo tEarlyWarningRecordVo);
}
